package com.dao;

import com.entity.Member;
import com.result.QueryResult;

import java.sql.SQLException;
import java.util.List;

public interface MemberDao {

    Member SelectByNum(Integer Num);
    List<Member> selectAll() throws SQLException, ClassNotFoundException;
    QueryResult selectByName(String name);
    QueryResult selectByPage(Integer offset, Integer size);
    Integer insert(Member member) ;
    void update(Member member);
    Integer delete(Integer num);

}
